home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-16 | 1.6 KB | 40 lines | [TEXT/GEOL] |
- Item forwarded by MADA2 to D5295
-
- Item 5211179 13-March-90 15:37PST
-
- From: AU0008 Austria - Kopfwerk,IDV
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: ?Headerprinting V2
-
- Dear colleagues,
-
- This is my 2nd link with the question about printing of headers and footers. I
- didn´t get any response but I cannot believe that only me in the whole universe
- want to print gridviews (or something else) with headers and footers. Maybe
- Apple´s message of "x-thousends MacApp developers…" is wrong???
-
- The solution I found has some disadvanteges and maybe somebody can help me to
- find a better way. Let me explain: I overrode TStdPrintHandler to handle 2 (or
- 3) views - the main view and the header (and footer) view. The main view will
- be handled in the normal way (passed in IStdPrintHandler). The other views will
- be printed in an overriden AdornPage method. Because multiple views should be
- printed, focusing will be important. (override FocusOnBorder and
- FocusOnInterior to replace the minimal focusing with real focus calls).
-
- My solution has problems and limitations:
- 1. sometimes there is no mainview on the LW output, but always it´s visible
- with "Preview".
- 2. There is is always the same header part, also when horizontal breaks occurs.
-
- If you have any idea of a better way, please, oh please, let me hear.
-
- Thank you in advance,
- Tommi
-
- PS: I think such a standard feature should be handled inside of MacApp and
- should included into the Grid example. But in the meantime is this not an idea
- for a "class room" project?
-
-